package mythread.demo001;

public class MyRunable implements  Runnable{

    @Override
    public void run() {
        System.out.println(" runable run");
    }


    public static void main(String[] args) {
        Runnable aa= new MyRunable() ;
        Thread tt = new Thread(aa,"GGG");
        tt.start();
    }
}
